﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Openlab.Tools.CodeGender
{
    public class CodeOption
    {
        /// <summary>
        /// 类名
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 命名空间名称
        /// </summary>
        public string NamespaceName { get; set; }

        /// <summary>
        /// 管理类名
        /// </summary>
        public string ManagerClassName { get; set; }

        /// <summary>
        /// 数据列
        /// </summary>
        public List<Column> Columns { get; set; }

        /// <summary>
        /// Id所在数据列
        /// </summary>
        public Column IdColumn { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        /// 获取Id集合存储过程
        /// </summary>
        public string GetEntityIdsStoredProcedureName { get; set; }

        /// <summary>
        /// 根据Id集合获取实体集合
        /// </summary>
        public string GetEntitiesStoredProcedureName { get; set; }

        public string CreateEntityStoredProcedureName { get; set; }

        public string UpdateEntityStoredProcedureName { get; set; }

        public string DeleteEntityStoredProcedureName { get; set; }
    }
}
